#pragma once

#include "poke_framework.h"
#include "poke_dialog_helper.h"

// CPokeDlgKeyControl dialog

class CPokeDlgKeyControl : public CDialog, public M::Atom
{
	DECLARE_DYNAMIC(CPokeDlgKeyControl)

public:
	CPokeDlgKeyControl(CWnd* pParent = NULL);   // standard constructor
	virtual ~CPokeDlgKeyControl();

// Dialog Data
	enum { IDD = IDD_DIALOG_KEY_CONTROL };

protected:
    DISABLE_DIALOG_DEFAULT_ACTION;
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    virtual M::String name() const { return PAN_DLG_KEY_CTRL; }

	DECLARE_MESSAGE_MAP()

protected:
    BOOL PostKeyMsg(DWORD *pMsgList, int nMsgCount);

private:
    CString m_strKeyInput;

public:
    afx_msg void OnBnClickedButtonWmKeydown();
    afx_msg void OnBnClickedButtonWmKeyup();
    afx_msg void OnBnClickedButtonWmKeyInput();
};
